#pragma once

#include <vector>

class Animation;

class AnimationSystem
{
	AnimationSystem(void);
	virtual ~AnimationSystem(void);
	AnimationSystem& operator=(const AnimationSystem&);
	AnimationSystem(const AnimationSystem&);

	std::vector<Animation*> animationArray;
	
public:
	static AnimationSystem* GetInstance();

	int AddAnimation(Animation* animation)
	{
		int tmp = animationArray.size();

		animationArray.push_back(animation);

		return tmp;
	}
	
	Animation* GetAnimation(int id)
	{
		return animationArray[id];
	}

	void Shutdown();
};

